package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SKillEvilCanGetInfo extends Object implements IMessageBase
    {
        public var killEvilTypeHuman:int;
        public var killEvilTypeEarth:int;
        public var killEvilTypeHeaven:int;
        public var killEvilTypeGod:int;
        public const _type:int = 12103;
        public static var _regist:SKillEvilCanGetInfo = new SKillEvilCanGetInfo(true);

        public function SKillEvilCanGetInfo(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SKillEvilCanGetInfo();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.killEvilTypeHuman);
            param1.writeInt(this.killEvilTypeEarth);
            param1.writeInt(this.killEvilTypeHeaven);
            param1.writeInt(this.killEvilTypeGod);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.killEvilTypeHuman = param1.readInt();
            this.killEvilTypeEarth = param1.readInt();
            this.killEvilTypeHeaven = param1.readInt();
            this.killEvilTypeGod = param1.readInt();
            
        }

    }
}
